import React, {Component} from 'react'
import {View, TouchableOpacity, Text} from 'react-native'
import EntryButton from './EntryButton'
import {connect} from 'react-redux'

class Categories extends Component {
    render() {
        return (
            <View style={{
                flexDirection:'row',
                justifyContent:'space-around',
                paddingTop: 10,
                paddingBottom: 10,
                backgroundColor: "rgba(255,255,255,1)"
            }}>
                <EntryButton title='长租办公' name='long-rent'/>
                <EntryButton title='短租办公' name='short-rent'/>
                <EntryButton title='订会议室' name='meeting-room'/>
                <EntryButton title='预订场地' name='site'/>
            </View>
        )
    }
}

export default connect()(Categories)